// 样式嵌套

.nav {
  height: 100px;
  ul{
    margin: 0;
    li {
      float: left;
      list-style: none;
      padding: 5px;
    }
    a {
      display: block;
      color: #000;
      padding: 5px;
      &:hover{
        background-color: #0d2f7e;
        color: #fff;
      }
    }
  }
  & &-text{
    font-size: 15px;
  }
}